home *** CD-ROM | disk | FTP | other *** search
- package horst;
-
- import java.awt.Graphics;
- import java.awt.Rectangle;
- import java.awt.Shape;
-
- public class InvisibleView extends View {
- public InvisibleView(View parent, Element e, HTMLPane container) {
- super(parent, e, container);
- }
-
- protected int getMinimumSpan(int axis) {
- return 0;
- }
-
- protected int getPreferredSpan(int axis) {
- return 0;
- }
-
- protected boolean isDisplayableView() {
- return false;
- }
-
- protected Rectangle layout(int x, int y, int width, LayoutInfo info) {
- super.m_bounds.setBounds(x, y, 0, 0);
- return super.m_bounds;
- }
-
- public void paint(Graphics g, Shape alloc) {
- }
-
- protected void paintFocusBox(Graphics g, Shape allocation) {
- }
- }
-